module.exports = (sequelize, DataTypes) =>{
    const User = sequelize.define('users', {
        id:{
            type: DataTypes.INTEGER.UNSIGNED,
            primaryKey: true,
            autoIncrement: true,
        },
        name:{
            type: DataTypes.CHAR,
            allowNull: no
        },
        age: {
            type: DataTypes.INT,
            allowNull:no
        },
        gender:{
            type: DataTypes.TINYINT,
            allowNull: no
        },
        createdAt: {
            type: DataTypes.DATE,
        },
        updateAt: {
            type: DataTypes.DATE,
        }
    });
    return User;
}